import React from 'react';
import { getBaseCommonProps } from '../../base/util';
import type { IProps } from './interface';
import { HtmlEditor } from '@cscec/udp-ui';

/**
 * 富文本
 * @param props
 * @returns 
 */
export default function (props: IProps) {
    const { fileTypeCode='udpfile-type'} = props;
    return <HtmlEditor {...getBaseCommonProps(props)}  fileTypeCode={fileTypeCode} editorProps={{}}/>;
}

